//
//  YZChatPeer.m
//  CocoaAsyncSocketClient
//
//  Created by lixiaoyi on 2018/7/9.
//  Copyright © 2018年 lixiaoyi. All rights reserved.
//

#import "YZChatPeer.h"

@implementation YZChatPeer

static YZChatPeer *chatPeer = nil;

+ (YZChatPeer *)shared {
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        chatPeer = [[YZChatPeer alloc] init];
    });
    
    return chatPeer;
}

@end
